package net.caidingke.shepherd.utils.lib.event;


/**
 * @author bowen
 */
public class Initializer {

    public static void main(String[] args) {
        Initializer initializer = new Initializer();
        initializer.init();
        EventBusInstance.getInstance().post(new Event());
        EventBusInstance.getInstance().post(new String("tt"));
    }

    public void init() {
        EventBusInstance.getInstance().register(new EventListener());
        EventBusInstance.getInstance().register(new EventListenerO());
    }
}
